.class public Lmaster/flame/danmaku/controller/DrawHelper;
.super Ljava/lang/Object;
.source "DrawHelper.java"


# static fields
.field public static PAINT:Landroid/graphics/Paint;

.field public static PAINT_FPS:Landroid/graphics/Paint;

.field public static RECT:Landroid/graphics/RectF;

.field private static USE_DRAWCOLOR_MODE_CLEAR:Z

.field private static USE_DRAWCOLOR_TO_CLEAR_CANVAS:Z


# direct methods
.method static constructor <clinit>()V
    .locals 3

    .prologue
    const/4 v0, 0x1

    .line 32
    sput-boolean v0, Lmaster/flame/danmaku/controller/DrawHelper;->USE_DRAWCOLOR_TO_CLEAR_CANVAS:Z

    .line 34
    sput-boolean v0, Lmaster/flame/danmaku/controller/DrawHelper;->USE_DRAWCOLOR_MODE_CLEAR:Z

    .line 37
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0}, Landroid/graphics/Paint;-><init>()V

    sput-object v0, Lmaster/flame/danmaku/controller/DrawHelper;->PAINT:Landroid/graphics/Paint;

    .line 38
    sget-object v0, Lmaster/flame/danmaku/controller/DrawHelper;->PAINT:Landroid/graphics/Paint;

    new-instance v1, Landroid/graphics/PorterDuffXfermode;

    sget-object v2, Landroid/graphics/PorterDuff$Mode;->CLEAR:Landroid/graphics/PorterDuff$Mode;

    invoke-direct {v1, v2}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;

    .line 39
    sget-object v0, Lmaster/flame/danmaku/controller/DrawHelper;->PAINT:Landroid/graphics/Paint;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V

    .line 40
    new-instance v0, Landroid/graphics/RectF;

    invoke-direct {v0}, Landroid/graphics/RectF;-><init>()V

    sput-object v0, Lmaster/flame/danmaku/controller/DrawHelper;->RECT:Landroid/graphics/RectF;

    .line 41
    return-void
.end method

.method public constructor <init>()V
    .locals 0

    return-void

    nop

    nop

    nop
.end method

.method public static clearCanvas(Landroid/graphics/Canvas;)V
    .locals 4

    return-void

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop
.end method

.method public static clearCanvas(Landroid/graphics/Canvas;FFFF)V
    .locals 1

    return-void

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop
.end method

.method private static clearCanvas(Landroid/graphics/Canvas;Landroid/graphics/RectF;)V
    .locals 2

    return-void

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop
.end method

.method public static drawFPS(Landroid/graphics/Canvas;Ljava/lang/String;)V
    .locals 5

    return-void

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop

    nop
.end method

.method public static fillTransparent(Landroid/graphics/Canvas;)V
    .locals 2

    return-void

    nop

    nop

    nop

    nop

    nop

    nop
.end method

.method public static useDrawColorToClearCanvas(ZZ)V
    .locals 0

    return-void

    nop

    nop

    nop

    nop
.end method
